Fedora 20
Sponsored Link

Fully accessed Shared Directory
2014/01/03
 
Install Samba and Create a shared directory that anybody can read and write, and authentication is not needed.
[1] Configure Samba
[root@lan ~]#
yum -y install samba samba-client
[root@lan ~]#
mkdir /home/share

[root@lan ~]#
chmod 777 /home/share

[root@lan ~]#
vi /etc/samba/smb.conf
# near line 66: add

unix charset = UTF-8
# line 90: change (Windows' default)

workgroup =
WORKGROUP
# line 98: uncomment

max protocol = SMB2
# line 96: uncomment and change to the IPs you permit to access

hosts allow = 127.
10.0.0.
# line 126: add ( no auth )

security = user
passdb backend = tdbsam
map to guest = Bad User
# add at the last line

[Share]
# any name you like

   path = /home/share
# shared directory

   writable = yes
# writable

   guest ok = yes
# guests OK

   guest only = yes
# look all as guests

   create mode = 0777
# fully accessed

   directory mode = 0777
# fully accessed

   share modes = yes
# warn if some people access to a file
[root@lan ~]#
systemctl start smb.service

[root@lan ~]#
systemctl start nmb.service

[root@lan ~]#
systemctl enable smb.service

[root@lan ~]#
systemctl enable nmb.service

[2] Configure on Windows client. This example is on Windows 7. Select [My Computer] - [Map Network Drive] like following example.
[3] Specify shared folder's place in Folder section like example and Click 'Finish' button to enter.
[4] Just accessed to shared folder.
 
Tweet